Page Navigation wordpress post

When you have a post too long!.You want to create a navigator for it.I's very simple, I will show you how to do it now.

Into wordpress loop you can add bellow code.



 

Affter that you must active Next Page button in Wordpress TinyMce Editor.
Add bellow code for functions.php into your theme you used.





Now you can add next page where you want to break up.


Result:


How to fix bug Jcart plugin for wordpress?


Jcart is simple shopping cart plugin for Wordpress and very easy use it but some bug when use this plugin.To day I want show you a solution for it.
The first error:

File jcart-javascript.php could’t load correct. 


Fix:
  1. Open file jcart-defaults.php
  2. Find line 11
  3. Replace “wp-blog-header.php” to “wp-load.php”

The second error:

Fatal error</b>: Cannot use object of type __PHP_Incomplete_Class as array in ‘jcart-javascript.php’.

Fix:

  1. Open file jcart-defaults.php
  2. Replace all variable $jcart with another variable name ( Ex: $jcart_cfg )
  3. Open file jcart-javascript.php replace all variable $jcart with variable name on step 2 ( Ex: $jcart_cfg )
  4. Similar with jcart-relay.php file.
  5. Open jcart-admin.php file find function wp_jcart and replace all variable $jcart with variable name on step 2.

Now you can use Jcart for your projects.Nice work!.

Page navigation with custom post type

It's simple.You can following code bellow and add in functions.php file.



It's work 100% :).